package com.itheima;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Dish;
import com.itheima.bean.Params;
import com.itheima.dto.DishDto;

import java.util.List;

public interface DishService {


     IPage<DishDto> findPage(Params params);

    int add(DishDto dishDto);

    int updata(DishDto dishDto);

    List<Dish> findDish(Long categoryID);

    List<DishDto> findUserDish(Long categoryId, int status);
}
